package com.icow.wms.basic.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.icow.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class LocationDomain {

  private long id;

  /** 创建时间 */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
  private java.sql.Timestamp createdDate;

  /** 层高 */
  @Excel(name = "层高")
  private long level;

  /** 载货状态 */
  @Excel(name = "载货状态")
  private long loadStatus;

  /** 站点名称 */
  @Excel(name = "站点名称")
  private String locationName;

  /** 修改时间 */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
  private java.sql.Timestamp modifiedDate;

  /** 名称 */
  @Excel(name = "名称")
  private String name;

  /** 编号 */
  @Excel(name = "编号")
  private long no;

  /** 站点类型 */
  @Excel(name = "站点类型")
  private long type;


  public long getId() {
    return id;
  }
  public void setId(long id) {
    this.id = id;
  }

  public java.sql.Timestamp getCreatedDate() {
    return createdDate;
  }
  public void setCreatedDate(java.sql.Timestamp createdDate) {
    this.createdDate = createdDate;
  }


  public long getLevel() {
    return level;
  }
  public void setLevel(long level) {
    this.level = level;
  }


  public long getLoadStatus() {
    return loadStatus;
  }
  public void setLoadStatus(long loadStatus) {
    this.loadStatus = loadStatus;
  }


  public String getLocationName() {
    return locationName;
  }
  public void setLocationName(String locationName) {
    this.locationName = locationName;
  }


  public java.sql.Timestamp getModifiedDate() {
    return modifiedDate;
  }
  public void setModifiedDate(java.sql.Timestamp modifiedDate) {
    this.modifiedDate = modifiedDate;
  }


  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }


  public long getNo() {
    return no;
  }
  public void setNo(long no) {
    this.no = no;
  }


  public long getType() {
    return type;
  }
  public void setType(long type) {
    this.type = type;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", id)
            .append("createdDate", createdDate)
            .append("level", level)
            .append("loadStatus", loadStatus)
            .append("locationName", locationName)
            .append("modifiedDate", modifiedDate)
            .append("name", name)
            .append("no", no)
            .append("type", type)
            .toString();
  }
}
